import { Component, OnInit, OnDestroy } from '@angular/core';
import { MessageService } from 'src/app/core/service/message.service';
import { ApiService } from 'src/app/core/api';
import { NzMessageService } from 'ng-zorro-antd';
import { NzRateModule } from 'ng-zorro-antd/rate';
import { ActivatedRoute } from '@angular/router';

@Component({
    templateUrl: './security.html',
    styleUrls: ['./security.scss']
})
export class SecurityComponent implements OnInit, OnDestroy {

    ngOnInit() {
        this.message.sendMessage('setHeader','bgnone');
    }
    ngOnDestroy(){
        this.message.sendMessage('setHeader','');
    }
    constructor(
        private message: MessageService,
        private msg: NzMessageService,
        private api: ApiService,
        private route: ActivatedRoute
    ) { }
}